#include "GameObject.h"
#include "Shader.h"
#include "Mesh.h"

GameObject::GameObject(Model* model) :
	ptrModel(model),
	scale(Vector3f(1,1,1))
{

}

void GameObject::Update(function<void(GameObject& obj)> updateFunc)
{
	updateFunc(*this);
}

void GameObject::Draw(function<void(GameObject& obj)> drawFunc)
{
	drawFunc(*this);
}


